package com.example.myDesignPatterns.创建者模式.创建者模式.assembly;

//摩拜单车Builder类
public class MobikeBuilder extends Builder{
    @Override
    public void buildFrame()
    {
        mBike.setFrame("铝合金车架");
    }
    @Override
    public void buildSeat() {
        mBike.setSeat("真皮车座");
    }
    @Override
    public Bike createBike() {
        return mBike;
    }
}
